<?php

namespace App\Trip\Train;

interface TrainOrderInterface
{
    /**
     * 订单提价占座申请
     * @return mixed
     */
    public function trainBook();

    /**
     * 占座申请结果
     * @return mixed
     */
    public function trainBookQuery();

    /**
     * 确认出票
     * @return mixed
     */
    public function ticketConfirm();

    /**
     * 确认出票回调接口
     * @return mixed
     */
    public function ticketConfirmQuery();

    /**
     * 取消 订单占座成功未支付的订单
     * @return mixed
     */
    public function trainOrderCancel();


    /**
     * 线上申请退票
     * @desc  对于未取票订单，申请线上退票
     * @return mixed
     */
    public function ticketReturn();

    /**
     * 线上退票回调
     * @return mixed
     */
    public function ticketReturnQuery();

    /**
     * 查询订单信息
     * @return mixed
     */
    public function trainOrderInfo();

    /**
     * 车票改签
     * @return mixed
     */
    public function ticketChanging();

    /**
     * 车票改签回调
     * @return mixed
     */
    public function ticketChangingQuery();

    /**
     * 取消 待支付的改签订单
     * @return mixed
     */
    public function ticketChangingCancel();

    /**
     * 确认改签
     * @return mixed
     */
    public function ticketChangingConfirm();

    /**
     * 确认改签回调
     * @return mixed
     */
    public function ticketChangingConfirmQuery();
}